/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufg.inf.pos.bd;

import java.util.List;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author luan
 */
public interface CategoriaService {
     public DefaultTableModel cadastrarCategoria(Categoria categoria);
     public DefaultTableModel listarCategoriasJtable();
     public List<Categoria> listarCategorias();
     public Categoria getByName(String categoria);
     
    
}
